<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'MyJsp.jsp' starting page</title>
    
	

  <script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
  <script type="text/javascript" src="plug-in/layui/lay/dest/layui.all.js"></script>
  <link rel="stylesheet" href="plug-in/layui/css/layui.css" type="text/css"></link>
  </head>
  
  <body>
  	<input type="hidden" value="${result}" id="result">

    
    <script type="text/javascript">
    	
    	$(function(){
    	var result=$("#result").val().trim();
    		alert(result);
    		location.href = "jsp/home.jsp";
    	
    	});
    
    </script>
  </body>
</html>
